package com.liwq.mapper;

import com.liwq.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UserMapper {


    @Select("select * from user where id = #{id}")
    User getUserById(Integer id);

    @Select("select * from user where id = #{uid}")
    User getUserById2(@Param("uid") Integer id);
}